package com.yunxi.dao.dealer;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.dealer.pojo.AreaManagerVO;
import com.yunxi.model.dealer.AreaManager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2019-07-23
 */
public interface AreaManagerMapper extends BaseMapperPlus<AreaManager> {
   void delByUserCode(@Param("userCode") String userCode);

   String getBigRegionCodeByCityManagerUserCode(@Param("fellowId")String fellowId);

   List<AreaManagerVO> pageByUserCode(AreaManagerVO areaManagerVO);

   List<String> getAreaManagerUserCodeByCityManagerUserCode(@Param("fellowId")String fellowId);

   List<AreaManagerVO> pageCityNotExisit(AreaManagerVO areaManagerVO);
}
